export const appendO = <T>(arr: Array<T>, elem: T, n: number) => {
  const arrRet: Array<T> = [...arr]
	for (let i = 0; i < n; i++) {
		arrRet.push(elem);
	}
	return arrRet;
};
